package com.ddpyjqtd.decorator.pancake.old;

public class PancakeTest {

	public static void main(String[] args) {
		
		Pancake pancake = new Pancake();
		
		pancake.print();
		System.out.println("###############");
		pancake = new PancakeEgg();
		pancake.print();
		System.out.println("###############");
		pancake = new PancakeHam();
		pancake.print();
		
		// 加两个鸡蛋，加三个火腿等不同的组合就需要建不同的类，太过繁琐。
		

	}

}
